﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Forecast.Domain.Implementation
{
    public class CancelBuyOfferService : ICancelOffers
    {
        #region Interface

        public void Execute(IOffer offer)
        {
            offer.Creator.Portfolio.GetHolding(offer.Prediction).CancelSale(offer.NumStocks);
        }

        #endregion
    }
}
